apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: {{ .Values.application.name }}-ingress
  namespace: {{ .Values.namespace.name }}
  annotations:
spec:
  rules:
  - host: {{ .Values.application.ingress.host.name }}
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: {{ .Values.istio.ingress.svc.name }}
            port:
              number: {{ .Values.istio.ingress.svc.port }}